<div class="form-group"  {guanlians}>
	<label class="col-xs-12 col-sm-3 col-md-2 right-label">{{check_show_lang('{title}')}}</label>
	<div class="col-xs-12 col-sm-8 col-lg-9">
		<div class="input-group">
			<input type="text" class="form-control {moreclass}" placeholder="选择内容"  ng-model="{tovalue}.{name}"/>
			<span class="input-group-btn">
				<button class="btn btn-primary" type="button" ng-click="pagedata.choose_content({tovalue},'{name}','{from}','{from_page}')">选择内容</button>
			</span>
		</div>
		<div class="help-block">{help}</div>
	</div>
</div>
<script>
scope.pagedata.choose_content=function(obj,key,type,url,webid){
		url=url || 'core/tools.content/';
		type=type || 'url';
		if(type=='manage'){
			url='core/tools.manage_content/';
		}
		scope.modal_func(function(res){
			obj[key]=res;
		},'',url);
}
</script>